package com.sbp.message.exception;

public abstract class ExceptionConstants {

	/**			
	* 操作成功		
	*/			
    public final static String 	SUCCESS	= "000000";

    /**
     * 参数不能为空
     */
	public static final String PARAM_NULL_ERROR = "message_error_001";

	/****
	 * destination不能为空
	 */
	public static final String DESTINATION_NULL_ERROR = "message_error_002";

	/****
	 * properties文件读取异常
	 */
	public static final String FILE_READ_EXCEPTION = "message_file_read";

	/****
	 * properties写入异常
	 */
	public static final String FILE_WRITE_EXCEPTION="message_file_write";

	/****
	 * 数据库插入主键冲突异常
	 */
	public static final String DUPLICATEKEYEXCEPTION = "database_operate_001";

	/****
	 * 无法找到制定的文件
	 */
	public static final String MESSAGE_FILE_NOT_FOUND = "message_file_not_found";
	/****
	 * 反射调用异常
	 */
	public static final String MESSAGE_REFLECT_ERROR = "message_reflect_error";

	/****
	 * 监听消息获取异常
	 */
	public static final String MESSAGE_REVEIVE_ERROR = "message_error_004";
	/****
	 * 远程调用异常
	 */
	public static final String MESSAGE_REMOTE_ERROR = "message_error_005";
	/****
	 * messid不能为空
	 */
	public static final String MESSAGEID_NULL_ERROR = "message_error_006";

	public static final String TARGET_INTERFACE_INVOKE_ERROR = "message_error_007";

	public static final String MESSAGERECORD_ADD_ERROR = "message_error_008";
}
